package com.shopping.mall.core.module.language.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
* Language实体类
*
* @author zxy
* @date 2021-07-26
*/
@Data
@TableName("language")
public class Language {

    public interface insert{
    }

    public interface update{
    }

    @TableId(type = IdType.UUID)
    @ApiModelProperty(value="语言ID")
    private String id;

    @ApiModelProperty(value="语言名")
    private String language;

    @ApiModelProperty(value="语言描述")
    private String description;

    @ApiModelProperty(value="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp create_at;

    @ApiModelProperty(value="修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp update_at;


}
